package org.example.spring.carsalemanagementsystem.dao;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.example.spring.carsalemanagementsystem.entity.MiddleTab;

@Mapper
public interface MiddleTabDao {

    //删除合同与汽车关联的所有中间表信息
    void deleteByContractId(@Param("contractid") String contractid);

    void insertOne(MiddleTab middleTab);

}
